//
//  RanPhotoSelectionCell.m
//  testAVFoundation
//
//  Created by Ran on 15/11/6.
//  Copyright (c) 2015年 gintong. All rights reserved.
//

#import "RanPhotoSelectionCell.h"
#import "RanPhotoSelectionModel.h"

@interface RanPhotoSelectionCell()

@property(nonatomic, weak)IBOutlet UIImageView *imgView;
@property(nonatomic, weak)IBOutlet UILabel *timeLabel;

@end

@implementation RanPhotoSelectionCell

- (void)setModel:(RanPhotoSelectionModel *)model
{
    _model = model;
    self.imgView.image = model.thumbImage;
    self.timeLabel.text = model.timeText;
//    [[NSOperationQueue new] addOperationWithBlock:^{
//        UIImage *fullScreenImage = model.originalImage;
//        if (self.imgView.image == model.thumbImage) {
//            [[NSOperationQueue mainQueue] addOperationWithBlock:^{
//                self.imgView.image = fullScreenImage;
//            }];
//        }
//    }];
}

@end
